package edu.xlh.travel.websocket.domin;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.List;

/**
 *      好友列表信息
 */
@Entity
@Table(name="t_friend_info")
@Data
@Accessors(chain = true)
@JsonIgnoreProperties({"hibernateLazyInitializer","handler"})
public class FriendInfo {
    //分组名
    private String groupname;
    //分组id
    @Id
    private String id;
    //list集合接收多个成员
    @Transient
    private List<EmpInfo> list;
}


